package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息管理对象 yy_message
 * 
 * @author ruoyi
 * @date 2024-04-23
 */
public class YyMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 管理用户ID */
    @Excel(name = "管理用户ID")
    private Long adminUserId;

    /** 家长ID */
    @Excel(name = "家长ID")
    private Long jzUserId;

    /** 管理用户要发的消息 */
    @Excel(name = "管理用户要发的消息")
    private String messageX;

    /** 家长恢复的消息 */
    @Excel(name = "家长恢复的消息")
    private String messageJ;

    private  String adminUserName;

    private String jzUserName;

    public String getAdminUserName() {
        return adminUserName;
    }

    public void setAdminUserName(String adminUserName) {
        this.adminUserName = adminUserName;
    }

    public String getJzUserName() {
        return jzUserName;
    }

    public void setJzUserName(String jzUserName) {
        this.jzUserName = jzUserName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAdminUserId(Long adminUserId) 
    {
        this.adminUserId = adminUserId;
    }

    public Long getAdminUserId() 
    {
        return adminUserId;
    }
    public void setJzUserId(Long jzUserId) 
    {
        this.jzUserId = jzUserId;
    }

    public Long getJzUserId() 
    {
        return jzUserId;
    }
    public void setMessageX(String messageX) 
    {
        this.messageX = messageX;
    }

    public String getMessageX() 
    {
        return messageX;
    }
    public void setMessageJ(String messageJ) 
    {
        this.messageJ = messageJ;
    }

    public String getMessageJ() 
    {
        return messageJ;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("adminUserId", getAdminUserId())
            .append("jzUserId", getJzUserId())
            .append("messageX", getMessageX())
            .append("messageJ", getMessageJ())
            .toString();
    }
}
